.Net Framework > v1.1.4322 > System > NullReferenceException > NullReferenceException NullReferenceException()
NullReferenceException(SerializationInfo,StreamingContext)
NullReferenceException(String)
NullReferenceException(String,Exception)


NullReferenceException()

Category
Constructor
Description
Initializes a new instance of the System.NullReferenceException class, setting the System.Exception.Message property of the new instance to a system-supplied message that describes the error, such as "The value 'null' was found where an instance of an object was required." This message takes into account the current system culture.
Type
void
Character
public
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

NullReferenceException(SerializationInfo,StreamingContext)

Category
Constructor
Description
Initializes a new instance of the System.NullReferenceException class with serialized data.
Type
void
Character
family
Parameters
NameTypeDescription
infoSerializationInfo
contextStreamingContext
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

NullReferenceException(String)

Category
Constructor
Description
Initializes a new instance of the System.NullReferenceException class with a specified error message.
Type
void
Character
public
Parameters
NameTypeDescription
messageString
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

NullReferenceException(String,Exception)

Category
Constructor
Description
Initializes a new instance of the System.NullReferenceException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Type
void
Character
public
Parameters
NameTypeDescription
messageString
innerExceptionException
Tags
0104BC7FDA, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database